package com.share.all.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 文件存储属性
 * 参考：https://www.javaguides.net/2020/04/spring-boot-file-upload-download-rest-api-example.html
 * @author caifan
 * created 2024/1/23 15:06
 */
@Component
@ConfigurationProperties(prefix = "file")
public class FileStorageProperties {

    @Getter
    @Setter
    private String uploadDir;

}
